
module("NetWork.Action.UpdateGroupUserAction ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

UpdateGroupUserAction = NetCmdActionBase:new()

function UpdateGroupUserAction:Action(bytes)
    local UpdateGroupUserSm = require("Protol.groupMessage_pb").UpdateGroupUserSm()
    UpdateGroupUserSm:ParseFromString(bytes)

    if UpdateGroupUserSm.code ~= 0 then
        local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
        UIWinMgr:OpenErrorNotice(UpdateGroupUserSm.code)
        return
    end
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.UpdateGroupUserSm(UpdateGroupUserSm)
end

require("NetWork.NetCmdSet").CmdSet[2006] = UpdateGroupUserAction --注册处理对象